package com.prothink.threadadmindemo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author mayanping
 * @title: BaseEntity
 * @projectName ThreadAdminDemo
 * @description: TODO
 * @date 2024/9/514:31
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BaseEntity {
    @JsonProperty("cUser")
    private int cUser;

    @TableField(exist = false)
    @JsonProperty("cUserName")
    private String cUserName;

    @JsonProperty("cTime")
    private Date cTime;

    @JsonProperty("uUser")
    private int uUser;

    @TableField(exist = false)
    @JsonProperty("uUserName")
    private String uUserName;

    @JsonProperty("uTime")
    private Date uTime;

}
